package org.jeecg.modules.demo.storageoutindetail.service.impl;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import org.jeecg.modules.demo.storageoutindetail.entity.StorageOutinDetail;
import org.jeecg.modules.demo.storageoutindetail.mapper.StorageOutinDetailMapper;
import org.jeecg.modules.demo.storageoutindetail.service.IStorageOutinDetailService;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;

/**
 * @Description: 出入库明细表
 * @Author: jeecg-boot
 * @Date: 2022-02-14
 * @Version: V1.0
 */
@Service
public class StorageOutinDetailServiceImpl extends ServiceImpl<StorageOutinDetailMapper, StorageOutinDetail> implements IStorageOutinDetailService {
    @Resource
    private StorageOutinDetailMapper storageOutinDetailMapper;

    // 查询出入库明细列表
    @Override
    public IPage<StorageOutinDetail> searchList(Page<StorageOutinDetail> page,
                                                String storeId, String commodityName, String commodityType, String billNo, String operateType,
                                                String beginTime, String endTime) {
        return storageOutinDetailMapper.searchList(page, storeId, commodityName, commodityType, billNo, operateType, beginTime, endTime);
    }
}
